<template>
    <div class="page">
        <img :src="imgUrl" alt="">
        <p class="whiteText fs16 bold lh20">
            您还没有关注，请长按识别二维码关注
        </p>
    </div>
</template>
<script>
export default {
    name:'follow',
    data(){
        return {
            imgUrl:'',
        }
    },
    created(){
        this.$store.commit('increment','关注')
        this.imgUrl = this.$store.state.f.followImg;
        if(!this.imgUrl){
            this.$router.go(-1);
        }
    }
}
</script>
<style lang="less" scoped>
.page{
    position:fixed;
    top:0rem;
    width:100%;
    height:100%;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:rgba(0,0,0,0.6);
    &>img{
        width:15rem;
        margin-top:-10rem;
        margin-bottom:6rem;
    }
}
</style>
